<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>添加</title>
		<style type="text/css">
.add {
	align: center;
}
</style>
	</head>
	<body>
		<div class="add">
			<s:form action="admin_add.action" method="post">
				<s:textfield name="name" label="姓名" />
				<s:textfield name="username" label="用户名" />
				<s:textfield name="password" label="密码"></s:textfield>
				<s:textfield name="role" label="用户角色" />
				<s:textfield name="tel" label="联系电话" />
				<!--<s:textfield name="right" label="权限" />-->
				<s:select list="functions" name="funcId" label="权限" listKey="id"
					listValue="name" emptyOption="true" cssStyle="width:155px;"
					multiple="true" size="4" />
				<s:select list="areas" name="areaId" label="关联区域" listKey="id"
					listValue="name" emptyOption="true" cssStyle="width:155px;"
					multiple="true" size="4" />
				<s:select list="departments" name="departmentId" label="关联部门"
					listKey="id" listValue="name" emptyOption="true"
					cssStyle="width:155px;" multiple="true" size="4" />
				<s:submit value="确定" align="center"></s:submit>
			</s:form>
		</div>
	</body>
</html>